and ifdef out a couple of functions that are not yet fully generic.
Signed-off-by: Keir Fraser <keir@xensource.com>
# override default values of drivers/xen/Kconfig
#
if XEN
-config XEN_UTIL
- default n
-
-config XEN_BALLOON
- default y
-
-config XEN_REBOOT
- default y
-
config XEN_SMPBOOT
default n
endif
bool
default y
-config XEN_UTIL
- bool
- default y
-
-config XEN_BALLOON
- bool
- default y
-
-config XEN_DEVMEM
- bool
- default y
-
-config XEN_REBOOT
- bool
- default y
-
config XEN_SMPBOOT
bool
default y
obj-y += privcmd/
obj-y += xenbus/
obj-y += gntdev/
+obj-y += balloon/
+obj-y += char/
-obj-$(CONFIG_XEN_UTIL) += util.o
-obj-$(CONFIG_XEN_BALLOON) += balloon/
-obj-$(CONFIG_XEN_DEVMEM) += char/
+obj-y += util.o
obj-$(CONFIG_XEN_BLKDEV_BACKEND) += blkback/
obj-$(CONFIG_XEN_BLKDEV_TAP) += blktap/
obj-$(CONFIG_XEN_NETDEV_BACKEND) += netback/
# Makefile for the linux kernel.
#
-obj-y := evtchn.o gnttab.o features.o
+obj-y := evtchn.o gnttab.o features.o reboot.o machine_reboot.o
obj-$(CONFIG_PROC_FS) += xen_proc.o
obj-$(CONFIG_SYSFS) += hypervisor_sysfs.o
obj-$(CONFIG_HOTPLUG_CPU) += cpu_hotplug.o
obj-$(CONFIG_XEN_SYSFS) += xen_sysfs.o
-obj-$(CONFIG_XEN_REBOOT) += reboot.o machine_reboot.o
obj-$(CONFIG_XEN_SMPBOOT) += smpboot.o
obj-$(CONFIG_KEXEC) += machine_kexec.o
}
EXPORT_SYMBOL_GPL(get_xen_class);
+/* Todo: merge ia64 ('auto-translate physmap') versions of these functions. */
+#ifndef __ia64__
+
static int f(pte_t *pte, struct page *pmd_page, unsigned long addr, void *data)
{
/* apply_to_page_range() does all the hard work. */
kfree(area);
}
EXPORT_SYMBOL_GPL(free_vm_area);
+
+#endif /* !__ia64__ */